package com.ruicar.afs.cloud.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.product.condition.ProductTemplateCondition;
import com.ruicar.afs.cloud.product.entity.ProductTemplate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author changyu.gui
 * @version 1.0
 * @date 2020/4/26 16:22
 */
public interface ProductTemplateMapper extends BaseMapper<ProductTemplate> {

    IPage<List<ProductTemplate>> getListProductTemplate(Page page, @Param("query") ProductTemplateCondition productTemplateCondition);
}